package com.zsy.service;

import com.zsy.entity.User;
import com.zsy.utils.Result;

public interface IUserService {
//    登陆
    Result login(String phone, String password);
//    注册
    Result register(User ui);

//手机号正则
    boolean judgePhone(String phone);
//密码正则
    boolean judgePassword(String password);

    //发送验证码
    Result sendCode(String phone);
}
